package co.com.travelsoft.ati.client;

import java.util.List;

import co.com.travelsoft.ati.dto.CiudadDto;
import co.com.travelsoft.ati.dto.ItinerarioDto;
import co.com.travelsoft.ati.dto.PaisDto;
import co.com.travelsoft.ati.dto.UsuarioDto;
import co.com.travelsoft.ati.exception.TravelSoftException;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("travel")
public interface TravelSoftService extends RemoteService {
	
	boolean validarUsuario(String login,String clave)  throws IllegalArgumentException;
	
	boolean registrarUsuario(UsuarioDto usuario)  throws IllegalArgumentException, TravelSoftException ;
	
	public UsuarioDto obtenerUsuarioSesion()  throws IllegalArgumentException;
	
	public List<PaisDto> obtenerPaises()  throws IllegalArgumentException, TravelSoftException;
	
	public PaisDto obtenerPais(PaisDto paisDto)  throws IllegalArgumentException, TravelSoftException;
	
	public List<CiudadDto> obtenerCiudadesporPais(Long coodigoPais)  throws IllegalArgumentException, TravelSoftException;
	
	boolean registrarItinerario(ItinerarioDto itinerario)  throws IllegalArgumentException, TravelSoftException ;
	
}
